package com.rc.saas.tenant.service.banner;

import com.github.pagehelper.PageInfo;
import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.banner.TenantBannerMapper;
import com.rc.saas.tenant.model.banner.TenantBanner;
import com.rc.saas.tenant.model.banner.TenantBannerExample;
import com.rc.saas.tenant.base.BaseSearch;

/**
 * @author frog
 * @date 2019/11/22
 */
public interface TenantBannerService  extends BaseService<Long, TenantBanner, TenantBannerExample, TenantBannerMapper> {
    TenantBanner selectBannerByTenantCode(String tenantCode);

    PageInfo<TenantBanner> listPageBanner(BaseSearch baseSearch,String bannerType);

}
